﻿using System.Web.Mvc;
using Microsoft.Practices.Unity;
using SchoolProject2012.Services;
using SchoolProject2012.Factories;
using SchoolProject2012.Areas.ChargeDePlacement.Controllers;

namespace SchoolProject2012.Areas.Pedagogie
{
    public class PedagogieAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Pedagogie";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Pedagogie_default",
                "Pedagogie/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional }
            );
        }
    }
}
